package com.mao.action.jsonvo.searchcenter;

import java.math.BigDecimal;

/**
 * 采购统计-按商品
 */
public class JsonVoSearchPurchaseByProduct {

	private long id;

	private String name;

	private String spec;

	private Integer amount;// 采购数量

	private BigDecimal averagePrice; // 进货均价

	private BigDecimal totalSubTotal; // 进货金额(总价)

	private String unit;

	private String datetime;

	private String proClassName;

	private String orgClassName;

	private String whClassName;

	private Integer returnAmount; // 退货数量

	private BigDecimal returnPrice; // 退货金额
	
	private BigDecimal averageReturnPrice; // 退货金额

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public BigDecimal getAveragePrice() {
		return averagePrice;
	}

	public void setAveragePrice(BigDecimal averagePrice) {
		this.averagePrice = averagePrice;
	}

	public BigDecimal getTotalSubTotal() {
		return totalSubTotal;
	}

	public void setTotalSubTotal(BigDecimal totalSubTotal) {
		this.totalSubTotal = totalSubTotal;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public String getProClassName() {
		return proClassName;
	}

	public void setProClassName(String proClassName) {
		this.proClassName = proClassName;
	}

	public String getOrgClassName() {
		return orgClassName;
	}

	public void setOrgClassName(String orgClassName) {
		this.orgClassName = orgClassName;
	}

	public String getWhClassName() {
		return whClassName;
	}

	public void setWhClassName(String whClassName) {
		this.whClassName = whClassName;
	}

	public Integer getReturnAmount() {
		return returnAmount;
	}

	public void setReturnAmount(Integer returnAmount) {
		this.returnAmount = returnAmount;
	}

	public BigDecimal getReturnPrice() {
		return returnPrice;
	}

	public void setReturnPrice(BigDecimal returnPrice) {
		this.returnPrice = returnPrice;
	}

	public BigDecimal getAverageReturnPrice() {
		return averageReturnPrice;
	}

	public void setAverageReturnPrice(BigDecimal averageReturnPrice) {
		this.averageReturnPrice = averageReturnPrice;
	}
	
}
